package fun.codedesign.yinxue.code.php2java.rule.word;


import java.util.Arrays;
import java.util.List;

public class BasicTypeWhiteSpaceWordRule implements WordRule {

    List<String> basicTypes = Arrays.asList("string");

    @Override
    public boolean isMatch(String originWord) {
        return basicTypes.contains(originWord);
    }

    @Override
    public String invoke(String originWord) {
        return originWord + " ";
    }
}
